package com.cn.mmd.service;

import com.cn.mmd.mapper.TeacherRankingMapper;
import com.cn.mmd.model.TeacherRanking;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/8/1 0001.
 */
@Service("teacherRankingLService")
public class TeacherRankingLServiceImpl implements TeacherRankingLService {

    @Autowired
    private TeacherRankingMapper teacherRankingMapper;

    @Override
    public TeacherRanking selectByPrimaryKey(String teacherid) {
        return teacherRankingMapper.selectByPrimaryKey(teacherid);
    }

    @Override
    public int deleteByPrimaryKey(String teacherid) {
        return teacherRankingMapper.deleteByPrimaryKey(teacherid);
    }
}
